import fetch from '@/utils/fetch'

const RecordApi = {
  getPageList (params) {
    return fetch({
      url: '/api/business/trade/page',
      method: 'get',
      params: params
    })
  },
  detial (params) {
    return fetch({
      url: '/api/business/trade/detail/list',
      method: 'get',
      params: params
    })
  },
  add (params) {
    return fetch({
      url: '/api/business',
      method: 'post',
      data: params
    })
  }
}
export default RecordApi
